package com.yanrumiao.util;

import cn.hutool.core.bean.BeanUtil;
import lombok.experimental.UtilityClass;

@UtilityClass
public class ConvertUtil {
    public static <T> T boToVo(Object bo, Class<T> voClass) {
        return BeanUtil.copyProperties(bo, voClass);
    }
}
